/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package server;
import java.rmi.*;
/**
 *
 * @author Dell 1564
 */
public interface Notify extends Remote {

    public void joinMessage (String name) throws  RemoteException;

    public void sendMessage  (String name, String mesage) throws RemoteException;

    public void exitMessage(String name) throws RemoteException;

    public String getName() throws  RemoteException;

    //Not call remotely
    public void setName (String s) throws RemoteException;

}
